package com.apolo;

import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.app.Activity;
import android.content.Intent;

public class Menu extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.menu);
		
	}

	public void informacion(View view){
		Intent intent = new Intent(this, Informacion.class);
		startActivity(intent);
	}
	
	public void ubicacion(View view){
		Intent intent = new Intent(this, Ubicacion.class);
		startActivity(intent);
	}
	
	public void contacto(View view){
		Intent intent = new Intent(this, Contacto.class);
		startActivity(intent);
	}
	
	public void cursos(View view){
		Intent intent = new Intent(this, Cursos.class);
		startActivity(intent);
	}
	
	public void facebook(View view){
		Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.facebook.com/apolosoft?fref=ts"));
		startActivity(intent);
	}
	
	public void twitter(View view){
		Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://twitter.com/apolosoft"));
		startActivity(intent);
	}
}
